﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage/PageTemplate.Master" AutoEventWireup="true"
    Codebehind="Manager.aspx.cs" Inherits="FrameWork.web.Module.ITMS.KnowledgeBase.KBQuery.Manager"
    Title="知识库" ValidateRequest="false" %>

<asp:Content ID="Content1" ContentPlaceHolderID="PageBody" runat="server">
<script language="Javascript1.2"  ><!-- // load htmlarea
_editor_url = "<%=Page.ResolveClientUrl("~/")%>inc/htmlarea/";                     // URL to htmlarea files
var win_ie_ver = parseFloat(navigator.appVersion.split("MSIE")[1]);
if (navigator.userAgent.indexOf('Mac')        >= 0) { win_ie_ver = 0; }
if (navigator.userAgent.indexOf('Windows CE') >= 0) { win_ie_ver = 0; }
if (navigator.userAgent.indexOf('Opera')      >= 0) { win_ie_ver = 0; }
if (win_ie_ver >= 5.5) {
 document.write('<scr' + 'ipt src="' +_editor_url+ 'editor.js"');
 document.write(' language="Javascript1.2"></scr' + 'ipt>');  
} else { document.write('<scr'+'ipt>function editor_generate() { return false; }</scr'+'ipt>'); }
// -->
var config = new Object(); // create new config object
config.toolbar = [
    ['fontname'],
    ['fontsize'],
//    ['fontstyle'],
//    ['linebreak'],
    ['bold','italic','underline','separator'],
//  ['strikethrough','subscript','superscript','separator'],
    ['justifyleft','justifycenter','justifyright','separator'],
    ['OrderedList','UnOrderedList','Outdent','Indent','separator'],
    ['forecolor','backcolor','separator'],
//    ['HorizontalRule','Createlink','InsertImage','InsertImage2','InsertTable','htmlmode','separator'],
    ['HorizontalRule','htmlmode','separator']
//  ['custom1','custom2','custom3','separator'],
//    ['word'],
//    ['popupeditor','about']];
//    ['popupeditor']
]; 


config.width = "100%";
config.height = "200px";
config.bodyStyle = 'background-color: white; font-family: "Verdana"; font-size: x-small;';
config.debug = 0;
</script> 
    <FrameWorkWebControls:HeadMenuWebControls ID="HeadMenuWebControls1" runat="server"
        HeadTitleTxt="知识库">
        <FrameWorkWebControls:HeadMenuButtonItem ButtonPopedom="List" ButtonUrl="Default.aspx"
            ButtonUrlType="Href" ButtonVisible="True" ButtonName="知识库" />
    </FrameWorkWebControls:HeadMenuWebControls>
    <FrameWorkWebControls:TabOptionWebControls ID="TabOptionWebControls1" runat="server">
        <FrameWorkWebControls:TabOptionItem ID="TabOptionItem1" runat="server" Tab_Name="查看/修改/增加知识库">
            <table width="100%" border="0" cellspacing="1" cellpadding="5" align="center">
                <tr>
                    <td class="table_body table_body_NoWidth"  style="width: 108px">
                        主题</td>
                    <td class="table_none table_none_NoWidth" colspan="4"  style="width: 85%">
                        <asp:TextBox ID="txtSubject" title="请输入主题~200:" runat="server" CssClass="text_input"
                            Width="400px"></asp:TextBox>
                        <asp:Label ID="Subject_Disp" runat="server"></asp:Label></td>
                </tr>
                <tr>
                    <td class="table_body table_body_NoWidth" style="height: 135px; width: 108px;" colspan="1">
                        内容简述</td>
                    <td class="table_none table_none_NoWidth" style="height: 135px" colspan="4">
                       <script language="JavaScript1.2" defer>editor_generate('<%=txtContent.UniqueID %>',config);</script> 
                        <asp:TextBox ID="txtContent" runat="server" CssClass="text_input"
                            Width="505px" Height="194px" TextMode="MultiLine"></asp:TextBox>
                        <asp:Label ID="Content_Disp" runat="server"></asp:Label></td>
                </tr>
                <tr>
                    <td class="table_body table_body_NoWidth" colspan="1" style="width: 108px">
                        关键字</td>
                    <td class="table_none table_none_NoWidth" colspan="4">
                        <asp:TextBox ID="txtKeyWord" title="不同关键字之间请用空格隔开" runat="server" CssClass="text_input"
                            Width="400px"></asp:TextBox>
                        <asp:Label ID="KeyWord_Disp" runat="server"></asp:Label></td>
                </tr>
                <tr>
                    <td class="table_body table_body_NoWidth" colspan="1" style="width: 108px">
                        附件</td>
                    <td class="table_none table_none_NoWidth" colspan="4">
                        <asp:TextBox ID="txtAttachment" title="请输入附件~255:" runat="server" CssClass="text_input"
                            Width="400px"></asp:TextBox>
                        <asp:Label ID="Attachment_Disp" runat="server"></asp:Label></td>
                </tr>
                <tr>
                    <td class="table_body table_body_NoWidth" colspan="1" style="width: 108px">
                        整理人姓名</td>
                    <td class="table_none table_none_NoWidth" colspan="4">
                        <asp:TextBox ID="txtUserName" title="请输入整理人姓名~20:" runat="server" CssClass="text_input"
                            ReadOnly="True"></asp:TextBox>
                        <asp:Label ID="UserName_Disp" runat="server"></asp:Label></td>
                </tr>
                <tr>
                    <td class="table_body table_body_NoWidth" colspan="1" style="width: 108px">
                        整理日期</td>
                    <td class="table_none table_none_NoWidth" colspan="4">
                        <asp:TextBox ID="txtCollateDAT" runat="server" CssClass="text_input"
                            ReadOnly="True"></asp:TextBox>
                        <asp:Label ID="CollateDAT_Disp" runat="server"></asp:Label></td>
                </tr>
                <tr id="ButtonOption" runat="server">
                    <td align="right" colspan="5">
                        &nbsp;<asp:Button ID="Button1" runat="server" CssClass="button_bak" Text="确定" OnClick="Button1_Click" />
                        <input id="Reset1" class="button_bak" type="reset" value="重填" />
                    </td>
                </tr>
            </table>
            &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;
        </FrameWorkWebControls:TabOptionItem>
    </FrameWorkWebControls:TabOptionWebControls>
            <div style="visibility: hidden; width: 427px; height: 83px">
            <asp:Label ID="KID_Disp" runat="server" Visible="False"></asp:Label>
            <asp:TextBox ID="txtKID" title="请输入类型ID~2147483648:int" runat="server" CssClass="text_input"></asp:TextBox>
            <asp:Label ID="Status_Disp" runat="server" Visible="False"></asp:Label>
            <asp:Label ID="DocNo_Disp" runat="server" Visible="False"></asp:Label>
            <asp:TextBox ID="txtStatus" title="请输入状态(1:普通)~2147483648:int" runat="server" CssClass="text_input"></asp:TextBox>
            <asp:TextBox ID="txtUserID" title="请输入整理人ID~2147483648:int" runat="server" CssClass="text_input"></asp:TextBox>
            <asp:TextBox ID="txtDocNo" title="请输入服务单号~20:" runat="server" CssClass="text_input"></asp:TextBox>
            <asp:Label ID="UserID_Disp" runat="server" Visible="False"></asp:Label></div>
</asp:Content>
